﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Frogism.Core;
using Frogism.Domain;
using NUnit.Framework;

namespace Frogism.Tests {
    [TestFixture]
    public class MoneyManagerTest {
        [Test]
        public void Create() {
            Assert.IsNotNull(new MoneyManager());
        }
        [Test]
        public void GetAccountByIdIsNotNull() {
           MoneyManager mm = new MoneyManager();
            Assert.IsNotNull(mm.Get(1));
            
        }
        [Test]
        public void GetAcccountByIdGetsCorrectAccount() {
            MoneyManager mm = new MoneyManager();
            Assert.AreEqual(1, mm.Get(1).Id);
        }
    }
}
